package org.example.aitest.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.example.aitest.dao.PurchaseDao;
import org.example.aitest.dto.TableDto;
import org.example.aitest.entity.Purchase;
import org.example.aitest.service.PurchaseService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;

/**
 * (Purchase)表服务实现类
 *
 * @author makejava
 * @since 2025-04-25 11:15:39
 */
@Service("purchaseService")
public class PurchaseServiceImpl extends ServiceImpl<PurchaseDao, Purchase> implements PurchaseService {

    @Autowired
    private PurchaseDao purchaseDao;


    @Override
    public List<TableDto> selccm() {
        List<TableDto> ccm = purchaseDao.getCcm();
        return ccm;
    }
}

